<template>
    <div class="box">
        <div class="statement">
            <div class="tap">
                <span class="active">总积分</span>
                <span>年度积分</span>
            </div>
            <div class="myData">
                <ul>
                    <li>
                        <span>12345</span>
                        <span>全省的排名</span>
                    </li>
                    <li>
                        <span>230</span>
                        <span>服务总积分</span>
                    </li>
                    <li>
                        <span>560</span>
                        <span>本校本年级排名</span>
                    </li>
                </ul>
            </div>
            <div class="ranking">
                <div class="title">
                    <span>本校本年级服务标兵</span>
                    <span>1200人参与报名</span>
                </div>
                <div class="list">
                    <ul>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                        <li>
                            <div class="msg">
                                <span>1</span>
                                <img src="@/assets/user.jpg">
                                <span>许琳琳</span>
                            </div>
                            <div class="integral">
                                1420分
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</template>

<script setup>

</script>

<style scoped>
#app>div {
    width: 100vw;
    height: 100vh;
    background-color: rgb(245, 245, 245);
}

#app .statement {
    width: 100vw;
    background-color: rgb(245, 245, 245);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1vh;
}

.statement>div {
    width: 96%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.statement .tap {
    height: 8vh;
}

.statement .tap span {
    flex: 1;
    background-color: white;
    font-size: 18px;
    padding: 2vh 2vw;
    text-align: center;
}

.statement .tap span:nth-child(1) {
    border-radius: 10px 0px 0px 10px;
}

.statement .tap span:nth-child(2) {
    border-radius: 0px 10px 10px 0px;
}

.statement .tap .active {
    background-color: rgb(121, 41, 41);
    color: white;
}

.statement .myData {
    height: 12vh;
    background-color: rgb(255, 255, 255);
    margin: 1vh 0px;
    border-radius: 10px;
}

.statement .myData ul {
    width: 100%;
    height: 100%;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.statement .myData ul li {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 2px dashed rgb(201, 201, 201);
    border-spacing: 6px;
}

.statement .myData ul li:nth-last-child(1) {
    border: none;
}

.statement .myData ul li span {
    margin: 0.5vh 0.5vw;
}

.statement .myData ul li span:nth-child(1) {
    font-weight: 900;
}

.statement .myData ul li span:nth-child(2) {
    font-weight: 100;
    font-size: 14px;
}

.statement .ranking {
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
}

.statement .ranking>div {
    width: 100%;
}

.statement .ranking .title {
    height: 6vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.statement .ranking .title span {
    padding: 0px 2vw;
}

.statement .ranking .title span:nth-child(1) {
    font-weight: 900;
}

.statement .ranking .title span:nth-child(2) {
    font-size: 14px;
    color: rgb(170, 170, 170);
}

.statement .ranking .list ul {
    list-style: none;
    width: 94%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    padding: 2%;
}

.statement .ranking .list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1vh;
}

.statement .ranking .list li>div {
    display: flex;
    align-items: center;
}

.statement .ranking .list li .msg {
    flex: 5;
}

.statement .ranking .list li .integral {
    flex: 1;
    font-weight: 900;
    color: rgb(170, 170, 170);
}

.statement .ranking .list .msg img {
    width: 15%;
    border-radius: 50%;
    margin: 0px 5%;
}
</style>